package kr.co.bettersoftportal.site.management.dao;

import kr.co.bettersoftportal.site.domain.NoticeBoard;

import java.util.List;


public interface NoticeBoardDao {
	public abstract List getBoardListBySearchword(NoticeBoard board);
    public abstract List getBoardListByNo(NoticeBoard board);
    public abstract String getTotalCountBySearchword(NoticeBoard board);
    public abstract String getTotalCountByNo(NoticeBoard board);
    public abstract String writeBoard(NoticeBoard board);
    public abstract String updateBoard(NoticeBoard board);
    public abstract String deleteBoard(NoticeBoard board);
    public abstract NoticeBoard getBoardByNo(String notice_board_no);

    public abstract String updateReplyCount(NoticeBoard board);
    public abstract String updateHitCount(NoticeBoard board);
    public abstract String updateVoteCount(NoticeBoard board);
    public abstract String updateNegativeCount(NoticeBoard board);
    public abstract String updateReportCount(NoticeBoard board);

    public abstract String updateBoardNotImage(NoticeBoard board);
}
